package com.xysoft.admin.dto;

import java.util.ArrayList;
import java.util.List;

public class ActionTreeDTO {
	private int id;
	private String text;
	private boolean checked;
	private String icon;
	private boolean leaf;
	private boolean expanded;
	private int parent;
	private List<ActionTreeDTO> children = new ArrayList<ActionTreeDTO>();
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public boolean isExpanded() {
		return expanded;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}
	public List<ActionTreeDTO> getChildren() {
		return children;
	}
	public void setChildren(List<ActionTreeDTO> children) {
		this.children = children;
	}
	public int getParent() {
		return parent;
	}
	public void setParent(int parent) {
		this.parent = parent;
	}
}
